﻿ALTER TABLE [dbo].[t_Document]
    ADD CONSTRAINT [FK_t_Document_ts_DocumentExtention] FOREIGN KEY ([Extention]) REFERENCES [dbo].[ts_DocumentExtention] ([Extention]) ON DELETE NO ACTION ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[t_Document] NOCHECK CONSTRAINT [FK_t_Document_ts_DocumentExtention];

